import request from "@/utils/request.ts";
import type { ParkInfoType } from "@/type/parkType";
import type { ResponseType } from "@/type/response";

enum Enum {
  parkInfo = "/park/statistics/info"
}

/*
* 获取园区概况的接口
* */
export const fetchParkInfoAPI = () => {
  return request.get<ParkInfoType, ResponseType<ParkInfoType>>(Enum.parkInfo);
};
